<div class="hd-20160601">
<div class="hd-banner-bg">
<div class="hd-banenr">
    <div class="banner-text">
        Enter <a href="#">Pandawil.com >></a>
    </div>
</div>
</div>
<div id="display0">
<div class="top-product-list">
    <ul class="top-list clearfloat lists-5 w1050"></ul>
</div>

<div class="hd-rule">
    <h5>Important Notes</h5>
    <p class="detial-info">
        * [
        <b>Warranty for liquidation</b>] All mobile has 90 days warranty while gadgets or electrical accessories for 30
        days.
        <br> *[
        <b>Return</b>] No return product is accepted except quality problem when receiving the terminal.
        <br> * [
        <b>Delivery Time</b>] Product is sent from China warehouse by Singapore post or other post. And usually it takes
        15 - 20 business days to arrive.
        <br> * Pandawill@2016. All rights reserved!
    </p>
</div>
</div>
<div class="hd-main-content">
<div class="hd-display-block" id="display1">
    <div class="display w1050">
        <h3>Mobile & Tablets</h3>
        <div class="hd-product-list">
            <ul class="lis1 lists-30 clearfloat"></ul>
        </div>
    </div>
</div>

<div class="hd-display-block" id="display2">
    <div class="display w1050">
        <h3>Accessories</h3>
        <div class="hd-product-list">
            <ul class="lis1 lists-40 clearfloat"></ul>
        </div>
    </div>
</div>
</div>
</div>
<style>
    .hd-banner-bg {background: url(./images/201607111.jpg)no-repeat center top;}
    .hd-main-content {background: url(./images/201607116.jpg)no-repeat center top #00475D;}
    #display0 {background: url(./images/201607112.jpg)no-repeat center top;height:576px;}
    .hd-20160601 .hd-banenr { height: 594px;position: relative;width: 1050px;margin: 0px auto}
    .hd-banenr .banner-text { position: absolute; right: 0px; font-size: 14px; width: 180px; text-align: center; border: 1px solid #dedede; background: #fff; padding: 5px;}
    .hd-banenr .banner-text a {color:#02b717;}
    .top-product-list {padding-top:25px;}
    .top-product-list .top-list {margin:0px auto;}
    .top-product-list .top-list li {float: left;width: 180px;height: 140px;background: #003e84;border-radius: 10px;margin: 0px 4px;border: 1px solid #3f76b9;position: relative;padding: 10px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease;}
    .top-product-list .top-list li .arrow { position: absolute; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 20px solid #003e84; top: -20px; left: 90px;}
    .top-product-list .top-list li:hover { transform: translateY(-6px); -webkit-transform: translateY(-6px); -o-transform: translateY(-6px); -ms-transform: translateY(-6px); -moz-transform: translateY(-6px);}
    .top-product-list .top-list li a {color:#fff;}
    .top-product-list .top-list li .price-area { position: absolute;text-align: left;}
    .top-list li .price-area .old-price {font-size: 18px;text-decoration: line-through;}
    .top-list li .price-area .current-price {font-size: 30px;color: #00e8ff;}
    .top-list li .discount-number {position: absolute;right: 0px;width: 50px;height: 50px;line-height: 50px;border: 2px solid #fff;border-radius: 50%;font-size: 18px;box-shadow: inset 0px 0px 10px #fff;}
    .top-list li .info {position: absolute;bottom: 55px;margin: 0px;height: 30px;font-size: 14px;text-align: left;}
    .top-list li .btn-buy { position: absolute;bottom: 10px;color: #fff;left: 10px;font-size: 14px;font-weight: bold;text-decoration: underline;}
    .top-list li:hover .btn-buy {color:#FF7000;}
    #display0 .hd-rule { width: 750px;height: 280px;padding: 20px;border-radius: 20px;background: rgba(27, 151, 199, 0.6);margin: 35px auto 20px;}
    #display0 .hd-rule h5 { font-size: 24px; font-weight: bold; margin-bottom: 15px; color: #fff;text-align: center;}
    .hd-rule .detial-info {font-size: 17px; color: #fff; text-align: left; line-height: 32px;}
    .hd-display-block {text-align: center;}
    .hd-display-block .display {background: url(./images/201607113.png)no-repeat center top;}
    #display2 .display {margin-top:20px;}
    .hd-display-block h3{ margin-bottom: 23px;color: #fff;font-size: 24px;height: 70px;line-height: 70px;}
    .hd-display-block .hd-product-list {padding: 20px 15px;background: #0a9dcd;}
    .hd-product-list .review-wrapper p{margin: 0px;text-align:center;line-height: 15px;padding: 0px 5px;height:35px;overflow: hidden;}
    .hd-product-list .review-wrapper p a {color:#333;font-size: 12px;}
    .hd-product-list ul li{width: 192px;height: 250px;background: #fff;float: left;margin:5px;position: relative;}
    .hd-product-list ul li:hover {border-color:#aaafb3;box-shadow: 0px 0px 16px #585858;-webkit-box-shadow: 0px 0px 16px #585858;-o-box-shadow: 0px 0px 16px #585858;-ms-box-shadow: 0px 0px 16px #585858;-moz-box-shadow: 0px 0px 16px #585858; }
    .hd-product-list ul li:hover .review-wrapper p a {color:#ed6d1f;}
    .hd-product-list ul li img {width:185px;height:162px;padding-top:5px;}
    .hd-product-list .price-area {padding-left: 5px;}
    .hd-product-list .old-price {font-size: 14px;text-decoration: line-through;display: block;line-height: 15px;color: #999;position: absolute; bottom: 28px;}
    .hd-product-list .current-price { font-size: 20px; font-weight: bold; color: #ed6d1f; display: block; line-height: 22px; position: absolute; bottom: 5px;}
    .hd-product-list .hd-btn-buy {font-size: 14px;color: #009dd2;display: block;text-decoration: underline;position: absolute;right: 5px;bottom: 5px;font-weight: bold;}
    .hd-product-list .discount-number2{ position: absolute; height: 60px; width: 60px; font-size: 20px; color: #ff821b; font-weight: bold; top: 0px; right: 0px; line-height: 50px; background: #ff821b; border-radius: 50%;}
    .discount-number2 .inner2{border: 2px solid #fff;width: 50px;height: 50px;border-radius: 50%;position: absolute;top: 3px;right: 3px;}
    .discount-number2 .inner3{background: #fff; width: 50px; display: block; height: 25px; line-height: 25px; margin-top: 13px; border-radius: 3px;}
    .hd-product-list ul li:hover img {opacity: 0.6;}
    .hd-product-list .review-wrapper .hd-btn-buy {font-size: 12px;color: #333;float: right;margin-top: 3px;text-decoration: underline;}
</style>
<script type="text/javascript">
    (function ($) {
        var str2 =  ` <li>
                    <a href="#">
                        <img src="./images/2016040616.jpg" alt="Blackview Ultra A6 Plus 2GB 16GB Dorado">
                    </a>
                    <div class="review-wrapper">
                        <p>
                            <a href="#">Blackview Ultra A6 Plus 2GB 16GB Dorado</a>
                        </p>
                    </div>
                    <div class="price-area">
                        <span class="old-price">309.99€</span>
                        <span class="current-price">145.99€</span>
                    </div>
                    <span class="discount-number2">
                        <span class="inner2">
                            <span class="inner3">-25€</span>
                        </span>
                    </span>
                    <a href="#" class="hd-btn-buy">Buy now&gt;&gt;</a>
                </li>`;
        var str3 = `<li>
            <a href="#">
                <i class="arrow"></i>
                <div class="price-area">
                    <span class="old-price">494.99€</span>
                    <br>
                    <span class="current-price">293.99€</span>
                </div>
                <span class="discount-number">-201€</span>
                <p class="info">XIAOMI MI Note LTE 3GB 16GB</p>
                <span class="btn-buy">Buy now >></span>
            </a>
        </li>`;
        var str3_5 = '';
        for (var i = 0; i < 5; i++){
            str3_5 += str3;
        }
        $(".lists-5").append(str3_5);

        var str2_40 = '';
        for (var i = 0; i < 40; i++){
            str2_40 += str2;
        }
        $(".lists-40").append(str2_40);

        var str2_30 = '';
        for (var i = 0; i < 30; i++){
            str2_30 += str2;
        }
        $(".lists-30").append(str2_30);
        function chagneBg(val,flag){
            if(val > 3092){
                flag == "scroll" ? $(".hd-main-content").css({"background-attachment":"fixed","background-position-y":" -1915px"}) :'';
            }else{
                flag == "fixed" ? $(".hd-main-content").css({"background-attachment":"scroll","background-position-y":" 0px"}) :'';
            }
        }
        var indexTimer = '', flag = true;
        $(window).on("scroll",function(){
            if(flag){
                flag = false;
                indexTimer = setTimeout(()=>{
                    chagneBg(document.documentElement.scrollTop || document.body.scrollTop, $(".hd-main-content").css("background-attachment"));
                    flag = true;
                    clearTimeout(indexTimer);
                },10);
            }
        });
    })(jQuery);
</script>